
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>session_index</title>
</head>
<body>
<%
    String username = request.getParameter("username");
    out.print("欢迎" + username + "登录");
    session.setAttribute("sessname", username);

//    session.setMaxInactiveInterval(5);
%>
<a href="session_success.jsp">跳转成功页面</a>

</body>
</html>
